Skip to content

Conversation

nseidle
Copy link
Member

@nseidle nseidle commented Feb 26, 2024

The NMEA parse is incorrectly throwing out valid responses from the UM980 because the checksum calculation is not including the $ (needed for unicore command responses).

Example valid response from UM980: $command,BESTNAVB 1,response: OK*54

SEMP: Log NMEA command, 0x0023 (35) bytes, bad checksum, received 0x54, computed: 0x70

By XORing the $ into the 0x70 computed checksum, we correctly allow the response to pass the check.

The NMEA parse is incorrectly throwing out valid responses from the UM980 because the checksum is missing the $.

SEMP: Log NMEA command, 0x0023 (35) bytes, bad checksum, received 0x54, computed: 0x70
Buffer: $command,BESTNAVB 1,response: OK*54

By XORing the $ into the 0x70 computed checksum, we correctly allow the response to pass the check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant